home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ WinNT IP Source Routing.xpl
< prev
next >
Wrap
Text File
|
2000-11-12
|
1KB
|
54 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Network\TCP/IP"
"NAME"="Windows NT IP Source Routing"
"VERSION"="1.05"
"OSVERSION"="01000"
"LANGUAGE"="VBScript"
"WARNING"="1"
"TEXT 1"="Enable IP Source Routing"
"DESCRIPTION 1"="By default, Windows NT 4.0 has TCP/IP source routing activated but in some cases you might want to disable this feature."
"DESCRIPTION 2"="Please note that this requires at least SP5 to work correctly."
"DESCRIPTION 3"="For more information about source routing, please see MS KB Q217336."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to CptSiskoX for his help!"
sP1="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\"
sV1="DisableIPSourceRouting"
Sub Plugin_Initialize
i=RegReadValue(sP1 & sV1)
if i=0 then SetUiElement 1,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
If GetUIElement(1)=true then
Call RegWriteValue(sp1 & sv1,"0",2)
else
Call RegWriteValue(sp1 & sv1,"2",2)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub